package com.goodo.card.api.repository;

import com.goodo.card.api.model.Cards;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @author xuyanbo
 * @date 2018/3/10
 */
@Repository
public interface CardsRepository extends JpaRepository<Cards, String> {

    /**
     * 根据ID查询
     * @param cardId
     * @return
     */
    Cards findByCardId(String cardId);
}
